function Fish(x,y,w,h,bgimg,count,time){
    this.x = x;
    this.width= w;
    var e = this.e = document.createElement("div");
    var s = this.s = e.style;
    this.bgimg = bgimg;
    s.position = "absolute";
    s.left = x + "px";
    s.top = y + "px";
    s.width = w + "px" ;
    s.height = h/count + "px";
    this.count = count;
    this.time = time;
    s.background = "url("+bgimg+")";
    this.bgy = 0;
    document.body.appendChild(e);
}